namespace Medical.Domain
{
    /// <summary>
    /// 住院单模板实体
    /// </summary>
    public class InpatientOrderTemplate
    {
        public long TemplateId { get; set; }
        public string TemplateName { get; set; } = string.Empty;
        public string? Description { get; set; }
        public bool IsActive { get; set; } = true;
        public bool IsDefault { get; set; } = false;

        // 打印项目（与图片中的勾选项相同）
        public bool ShowSerialNumber { get; set; }
        public bool ShowDepartment { get; set; }
        public bool ShowDoctor { get; set; }
        public bool ShowPrescription { get; set; }
        public bool ShowBedNumber { get; set; }
        public bool ShowConsultationTime { get; set; }
        public bool ShowAdmissionTime { get; set; }
        public bool ShowDischargeTime { get; set; }
        public bool ShowExpenseDetails { get; set; }
        public bool ShowCashier { get; set; }
        public bool ShowAmount { get; set; }

        public bool IsDeleted { get; set; } = false;
        public DateTime? DeletedAt { get; set; }
        public string? DeletedBy { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.Now;
        public DateTime UpdatedAt { get; set; } = DateTime.Now;
    }
}
